//
//  PokerTexasHoldem_def.h
//
//  Created by Enric Vergara on 20.10.12. 
//  Copyright OWLAB 2010. All rights reserved.


//---Define new types----

#define NUM_COMMUNITY_CARDS         5
#define NUM_PLAYERS_MAX             10
#define PRE_FLOP_TIME_PLAYER        0.7f
#define POST_FLOP_TIME_CARD         1.5f
#define POST_ALLIN_TIME_CARD        1.5f
#define POST_FLOP_RIVER_TIME_CARD   1.5f
#define POST_NEW_HAND               3.0f
#define SHOW_DOWN_TIME              1.0f

typedef enum
{
    PokerState_NewHand = 0,
    PokerState_PreFlop,
    PokerState_PostFlop_Flop,
    PokerState_PostFlop_Turn,
    PokerState_PostFlop_River,
    PokerState_BettingRound,
    PokerState_AllIn,
    PokerState_ShowDown,
    PokerState_WinnerHand,
    PokerState_WinTheGame,
    PokerState_LoseTheGame,
    PokerState_Max
    
}TYPE_POKER_STATE;

typedef enum
{
    PokerPlayer_Local = 0,
    PokerPlayer_AI,
    PokerPlayer_Network
    
}TYPE_POKER_PLAYER;


//----Poker Texas Holde'm STATE MACHINE:
typedef struct 
{
    TYPE_POKER_STATE    m_eGameState;
    TYPE_POKER_STATE    m_ePopGameState;
    float               m_fStatesTime;
    unsigned int        m_uiCounterState;
    bool                m_bOnEnterFirstTime;
    CCLabel             * m_sStateLabel;
}PTH_STATE_MACHINE;

//----------------------

